<template>
  <div><h2>我是Home的内容</h2></div>
</template>

<script>
export default {
  name: "Home",
  beforeDestroy() {
    console.log("Home组件要被销毁了");
  },
  mounted() {
    console.log("Home组件要被挂载了");
  },
};
</script>

<style>
</style>
